package com.example.edu.Service;

import com.example.edu.Dto.Return;
import com.example.edu.Entity.User;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    Return update(HttpServletRequest request, User newMessage);

    Return updatePassword(HttpServletRequest request, User newMessage);

    Return get(HttpServletRequest request);

    Return logout(HttpServletRequest request);
}
